<?php
	echo 'Hello user, "' . $_GET['username'] . '"';
?>
<!DOCTYPE html>
<html>
<head runat="server">
	<title>
		Event Page
	</title>
	<link href="style.css" rel="Stylesheet" type="text/css" />
</head>

<body>
	<a name="top"></a>
	<div class="WebsiteBanner">Study Buddy</div>
	<div class="NavigationBar">
		<span id="NavigationBarLink">
			<?php 
				echo '<a href="event.php?event=renderClasses&username='. $_GET['username'].'">Classes</a>';
			?>
		</span>
		<span id="NavigationBarLink">
			<?php 
				echo '<a href="event.php?event=renderProfilePage&username='. $_GET['username'].'">Profile</a>';
			?>
		</span>
		<span>
			<?php 
				echo '<a href="event.php?event=renderSearchPage&username='. $_GET['username'].'">Search</a>';
			?>
		</span>
		<span>
			<a href="login.php">Log Out</a>
		</span>		
	</div>
	<div class="PostContainer">
		<?php include("render_event.php"); ?>			
	</div>
	<div  id="BackToTop">
		<a href="#top">Back to Top</a>
	</div>
</body>
</html>
